package com.bTrace;

/**
 * 描述:
 *
 * @author luzhongfu
 * Created by lucky on 2020-08-31 4:00 PM
 */
import java.util.Random;

public class BtraceCase {
    public static Random random = new Random();
    public int size;

    public static void main(String[] args) throws Exception {
        new BtraceCase().run();
    }

    public void run() throws Exception {
        while (true) {
            add(random.nextInt(10), random.nextInt(10));
        }
    }

    public int add(int a, int b) throws Exception {
        Thread.sleep(random.nextInt(10) * 100);
        return a + b;
    }
}
